home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / var / lib / dpkg / info / libccid.preinst < prev    next >
Encoding:
Text File  |  2012-09-24  |  479 b   |  14 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_installudev
  4. if [ "$1" = install ] || [ "$1" = upgrade ]; then
  5.     if [ -e "/etc/udev/rules.d/92_libccid.rules" ]; then
  6.         if [ "`md5sum \"/etc/udev/rules.d/92_libccid.rules\" | sed -e \"s/ .*//\"`" = \
  7.              "`dpkg-query -W -f='${Conffiles}' libccid | sed -n -e \"\\\\' /etc/udev/rules.d/92_libccid.rules '{s/ obsolete$//;s/.* //p}\"`" ]
  8.         then
  9.             rm -f "/etc/udev/rules.d/92_libccid.rules"
  10.         fi
  11.     fi
  12. fi
  13. # End automatically added section
  14.